package com.baidu.mapper;

import com.baidu.pojo.Order;

import java.util.List;
import java.util.Map;

public interface OrderMapper {

	void add(Order order);

	List<Order> findByCondition(Order order);

	Map findById(Integer id);

	// --------
	int findtodayOrderNumber(String today);

	int todayVisitsNumber(String today);

	int thisWeekOrderNumber(String thisWeekMonday);

	int thisWeekVisitsNumber(String thisWeekMonday);

	int thisMonthOrderNumber(String thisMonthFirstDay);

	int thisMonthVisitsNumber(String thisMonthFirstDay);

	int findOrderCount(String s);
}
